$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .banner {
    position: relative;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }

    .text {
      position: absolute;
      left: 190/$f+vw;
      top: 50%;
      transform: translateY(-50%);

      .p1 {
        background: linear-gradient(180deg, rgba(56, 110, 181, 0.50) 35.29%, rgba(255, 255, 255, 0.00) 84.31%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 40/$f+vw;
        text-transform: uppercase;
        font-family: 'PingFang';
        font-weight: 600;
      }

      .p2 {
        color: #386EB5;
        font-size: 48/$f+vw;
        font-weight: 700;
        margin-top: -1vw;
      }
    }

    .types {
      border-top: 3px solid rgba(58, 133, 192, 0.10);
      background: rgba(0, 0, 0, 0.30);
      backdrop-filter: blur(5px);
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;

      .items {
        width: 65%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;

        .item {
          width: 20%;
          position: relative;
          cursor: pointer;

          &::before {
            content: '';
            display: block;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: -2px;
            width: 0;
            transition: all 600ms;
            height: 4/$f+vw;
            background: #386EB5;
          }

          .p1 {
            color: #FFF;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 22/$f+vw 0;
            font-size: 20/$f+vw;
            font-weight: 700;
            transition: all 600ms;

            svg {
              display: block;
              width: 24/$f+vw;

              path {
                transition: all 600ms;
              }
            }
          }

          &:hover {
            &::before {
              width: 100%;
            }

            .p1 {
              color: #386EB5;

              svg {
                path {
                  stroke: #386EB5;
                }
              }
            }
          }
        }

        .active {
          &::before {
            width: 100%;
          }

          .p1 {
            color: #386EB5;

            svg {
              path {
                stroke: #386EB5;
              }
            }
          }
        }
      }
    }
  }


  .main {
    margin: 80/$f+vw 190/$f+vw;

    .section1 {
      .t {
        color: #000;
        font-size: 40/$f+vw;
        font-weight: 600;
        text-align: center;
      }

      .chose1 {
        display: flex;
        justify-content: center;
        margin: 80/$f+vw 0 52/$f+vw 0;

        .item {
          margin-left: 30/$f+vw;

          .p1 {
            color: #999;
            font-size: 20/$f+vw;
            margin-bottom: 13/$f+vw;
          }

          .xz {
            width: 478/$f+vw;
            border: 1px solid #DDD;
            background: #FFF;

            select {
              width: calc(100% - 1vw);
              outline: none;
              border: none;
              color: #999;
              font-size: 20/$f+vw;
              padding: 20/$f+vw 16/$f+vw;
              display: block;
              cursor: pointer;
            }
          }
        }
      }

      .chose2 {
        display: none;
        .tt {
          color: #999;
          font-size: 20/$f+vw;
          margin-bottom: 10/$f+vw;
        }

        .items {
          display: flex;
          flex-wrap: wrap;
          width: 103.2%;
          margin-left: -1.6%;
          display: none;
          .item {
            width: 23%;
            margin-left: 1.6%;
            border: 1px solid #DDD;
            background: #FFF;
            margin-bottom: 24/$f+vw;

            .pi {
              display: flex;
              justify-content: space-between;
              align-items: center;

              .st {
                width: 55%;
                color: #333;
                font-size: 20/$f+vw;
                text-indent: 16/$f+vw;
                span{
                  color: #F00;
                }
              }

              .xz {
                width: 45%;
                border-left: 1px solid #DDD;

                select {
                  width: calc(100% - 1.7vw);
                  outline: none;
                  border: none;
                  overflow: hidden;
                  margin-left: 0.5vw;
                  color: #999;
                  font-size: 20/$f+vw;
                  padding: 20/$f+vw 16/$f+vw;
                  display: block;
                  cursor: pointer;
                }
              }
            }
          }
        }
        .show{
          display: flex;
        }
      }

      .btns {
        display: flex;
        justify-content: center;
        margin: 65/$f+vw 0 100/$f+vw 0;

        .btn1 {
          width: 108/$f+vw;
          line-height: 55/$f+vw;
          background-color: #386EB5;
          color: #FFF;
          font-size: 24/$f+vw;
          text-align: center;
          cursor: pointer;
        }
        .btn2{
          color: #333;
          font-size: 24/$f+vw;
          width: 108/$f+vw;
          line-height: 55/$f+vw;
          text-align: center;
          margin-left: 2vw;
          transition: all 600ms;
          cursor: pointer;
          &:hover{
            background-color: #386EB5;
            color:white;
          }
        }
      }
    }

    .section2 {
      .t {
        color: #000;
        font-size: 40/$f+vw;
        font-weight: 600;
        text-align: center;
      }

      .list {
        margin-top: 80/$f+vw;
        display: flex;
        flex-wrap: wrap;
        width: 105%;
        margin-left: -2.5%;
        a {
          background: linear-gradient(0deg, #C8C8C8 100%, #FFF 100%);
          display: block;
          padding: 38/$f+vw 28/$f+vw;
          position: relative;
          width: calc(22% - 3vw);
          margin-left: 2.5%;
          margin-bottom: 32/$f+vw;

          .pic {
            img {
              width: 100%;
              display: block;
              object-fit: contain;
            }
          }

          .pt {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            border-top: 3/$f+vw solid rgba(0, 0, 0, 0.10);
            background: rgba(0, 0, 0, 0.10);
            backdrop-filter: blur(5px);
            font-size: 24/$f+vw;
            color: white;
            font-weight: 600;

            p {
              margin: 16/$f+vw;
            }
          }

          .text {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: #386EB5;
            opacity: 0;
            transition: all 600ms;
            z-index: 2;

            .db {
              margin: 40/$f+vw;
              color: white;

              .p1 {
                font-size: 24/$f+vw;
                font-weight: 600;
                font-family: 'PingFang';
              }

              .ds {
                margin-top: 32/$f+vw;

                .pd1 {
                  font-size: 18/$f+vw;
                }

                .pd2 {
                  font-size: 20/$f+vw;
                  font-weight: 600;
                  margin-top: 10/$f+vw;
                }
              }
            }
          }

          &:hover {
            .text {
              opacity: 1;
            }
          }
        }
      }
    }
  }



  .getIn {
    background: url(../images/gbg.png) no-repeat;
    background-size: cover;
    position: relative;
    padding: 90/$f+vw 200/$f+vw;

    &::before {
      content: '';
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(92deg, #00142E -2.77%, rgba(0, 0, 0, 0.00) 99.07%);
    }

    .box {
      position: relative;
      z-index: 2;

      .t1 {
        text-align: center;
        color: #F1F1F1;
        font-size: 40/$f+vw;
      }

      .pics {
        margin: 16/$f+vw 0;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .pic1 {
          img {
            width: 164/$f+vw;
            display: block;
          }
        }

        .line {
          width: calc(90% - 11vw);
          background: #818181;
          height: 1px;
          position: relative;
          overflow: hidden;

          span {
            position: absolute;
            left: 0;
            top: 0;
            width: 20%;
            background-color: white;
            height: 1px;
            transform: translateX(-100%);
          }

          .on {
            animation-name: progress;
            animation-duration: 1s;
            animation-timing-function: linear;
            animation-iteration-count: 1;
          }

          @keyframes progress {
            0% {
              left: 0;
              transform: translateX(-100%);
            }

            100% {
              left: 100%;
              transform: translateX(100%);
            }
          }
        }

        .pic2 {
          img {
            width: 156/$f+vw;
            display: block;
          }
        }
      }

      a {
        width: 162/$f+vw;
        height: 58/$f+vw;
        border: 1px solid #FFF;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18/$f+vw;
        transition: all 600ms;
        color: white;
        margin: 0 auto;

        svg {
          width: 11/$f+vw;
          display: block;
          margin: 2px 0 0 0.6vw;

          path {
            transition: all 600ms;
          }
        }

        &:hover {
          background: #fff;
          color: #000;

          svg {
            path {
              fill: #000;
            }
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .banner{
      img{
        height: 150px;
      }
      .text{
        left: 5%;
        top:50%;
        .p1{
          font-size: 20px;
        }
        .p2{
          font-size: 20px;
          margin-top: -10px;
        }
      }
      .types{
        position: static;
        .items{
          width: 100%;
          .item{
            .p1{
              font-size: 12px;
              padding: 10px 0;
            }
          }
        }
      }
    }
    .main{
      margin: 30px 5%;
      .section1{
        .t{
          font-size: 20px;
        }
        .chose1{
          margin: 30px 0 15px 0;
          flex-direction: column;
          .item{
            width: 100%;
            margin-left: 0;
            margin-bottom: 20px;
            .p1{
              font-size: 16px;
              margin-bottom: 10px;
            }
            .xz{
              width: 100%;
              select{
                font-size: 16px;
                padding: 15px 10px;
                width: calc(100% - 20px);
              }
            }
          }
        }
        .chose2{
          .tt{
            font-size: 16px;
            margin-bottom: 10px;
          }
          .items{
            .item{
              width: 100%;
              margin-left: 0;
              margin-bottom: 15px;
              .pi{
                .st{
                  font-size: 16px;
                  text-indent: 15px;
                }
                .xz{
                  select{
                    font-size: 16px;
                    padding: 15px 10px;
                    width: calc(100% - 20px);
                  }
                }
              }
            }
          }
        }
        .btns{
          .btn1,.btn2{
            font-size: 18px;
            width: fit-content;
            line-height: normal;
            padding: 5px 20px;
          }
          .btn1{
          margin-left: 20px;
          }
        }
      }
      .section2{
        margin-top: 50px;
        .t{
          font-size: 20px;
        }
        .list{
          width: 100%;
          margin-left: 0;
          margin-top: 30px;
          a{
            width: 100%;
            margin-left: 0;
            .pt{
              font-size: 18px;
              p{
                margin: 15px;
              }
            }
            .text{
              .db{
                margin: 30px;
                .p1{
                  font-size: 18px;
                }
                .ds{
                  margin-top: 20px;
                  .pd1{
                    font-size: 16px;
                  }
                  .pd2{
                    font-size: 18px;
                    margin-top: 5px;
                  }
                }
              }
            }
          }
        }
      }
    }
    .getIn{
      padding: 40px 5%;
      .box{
        .t1{
          font-size: 20px;
        }
        .pics{
          margin: 15px 0;
          .pic1,.pic2{
            img{
              width: 60px;
            }
          }
          .line{
            width: calc(95% - 120px);
          }
        }
        a{
          width: 150px;
          height: 45px;
          font-size: 14px;
          svg{
            width: 12px;
            margin: 0 0 0 8px;
          }
        }
      }
    }
  }
}